#ifndef MESSAGE_H
#define MESSAGE_H

#include <QString>

class Message
{
public:
    Message(void) { messageBody_ = ""; timestamp_ = ""; }
    Message(QString messageBody, QString timestamp) { messageBody_ = messageBody; timestamp_ = timestamp; }

    void setMessageBody(QString messageBody) { messageBody_ = messageBody; }
    void setTimestamp(QString timestamp) { timestamp_ = timestamp; }

    const QString getMessageBody(void) const{ return messageBody_; }
    const QString getTimestamp(void) const { return timestamp_; }

private:
    QString messageBody_;
    QString timestamp_;
};

bool messageLessThan(const Message &, const Message &);

#endif // MESSAGE_H
